package com.example.shop.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.example.shop.pojo.UserAuth;

@Mapper
public interface UserAuthMapper {
	/**
	 * 根据账号查询用户所有赋予权限
	 */
	public List<UserAuth> selectAllGiveAuthByAccount(UserAuth userAuth);
	/**
	 * 根据账号赋予权限
	 */
	public int addUserAuth(UserAuth userAuth);
	/**
	 * 据账号查询用户所有权限
	 */
	public List<UserAuth> selectAllByAccount(UserAuth userAuth);
}
